<?xml version="1.0" encoding="utf-8"?>
<SAMPLER_DECLARATIONS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns ="urn:dsfx0">

  <!-- s_EyeMap sampler used in many post effects -->
  <SAMPLER>
    <NAME>s_EyeMap</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!TEXTURE_ARRAY !MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>TEXTURE_ARRAY !MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DMS</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!TEXTURE_ARRAY MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DMSArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>TEXTURE_ARRAY MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>

  <!-- s_ZMap sampler used in many post effects -->
  <SAMPLER>
    <NAME>s_ZMap</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DMS</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z !ZMAP_ARRAY_ID !ZMAP_ARRAY NORMAL_Z_MSAA </SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z !ZMAP_ARRAY_ID !ZMAP_ARRAY Z_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z !ZMAP_ARRAY_ID !ZMAP_ARRAY !NORMAL_Z_MSAA !Z_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DMSArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY_ID NORMAL_Z_MSAA</SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY_ID Z_MSAA</SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY NORMAL_Z_MSAA</SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY Z_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY_ID !NORMAL_Z_MSAA !Z_MSAA</SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>!FORCE_Z ZMAP_ARRAY !NORMAL_Z_MSAA !Z_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>

  <!-- s_NormalMap sampler used in many post effects -->
  <SAMPLER>
    <NAME>s_NormalMap</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DMS</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>NORMAL_Z_MSAA</SAMPLER_OPTION_GRAMMAR>
      <SAMPLER_OPTION_GRAMMAR>NORMAL_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>!NORMAL_Z_MSAA !NORMAL_MSAA</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>

  <!-- mirror map used for grounds (NOT the same as the one in BaseEffectPDSFX) -->
  <SAMPLER>
    <NAME>mirrorMapTex</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>GROUND_MIRRORING MultiviewSinglePass</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>GROUND_MIRRORING !MultiviewSinglePass</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>

  <!-- shadow map used for grounds (NOT the same as the one in BaseEffectPDSFX) -->
  <SAMPLER>
    <NAME>shadowMapTex2</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2DArray</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>GROUND_SHADOW MultiGroundShadow</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>GROUND_SHADOW !MultiGroundShadow</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
  </SAMPLER>
  
</SAMPLER_DECLARATIONS>
